 var swiper = new Swiper('.swiper-container', {
      slidesPerView: 1,
      spaceBetween: 30,
      loop: true,
      pagination: {
        el: '.swiper-pagination',
        clickable: true,
      },
      autoplay: {
	    delay: 5000,
	    stopOnLastSlide: false,
	    disableOnInteraction: true,
	  },
      navigation: {
        nextEl: '.swiper-button-next',
        prevEl: '.swiper-button-prev',
      },
    });




//footer显示
var fb = document.querySelector(".footer-b")
window.onscroll = function( ){
	if(document.documentElement.scrollTop > 100 || document.body.scrollTop > 100){
		fb.style.transition= ".5s";
		fb.style.overflow="initial";
		fb.style.height = "70px";
	}else{
		fb.style.transition= ".1s";
		fb.style.height = "0";
		fb.style.overflow="hidden";
	};
}


//点击跳转
var qq = document.querySelector(".qqlink");
var qqt = document.querySelector(".tz");
var qqp = document.querySelector(".tz p");
var qqx = document.querySelector(".tz h5");
qq.addEventListener("click",function(){
	qqt.style.height= "200px";
})
qqp.addEventListener("click",function(){
	qqt.style.height= "0";
})
qqx.addEventListener("click",function(){
	qqt.style.height= "0";
})
if(document.body.offsetWidth<'687'){
	qq.addEventListener("click",function(){
		qqt.style.height= "150px";
	})
}